package TransactionImplementation

import (
	"salary-payment/AbstractTransaction"
	"salary-payment/Model"
)

type ChangeNameTransaction struct {
	AbstractTransaction.ChangeEmployeeTransaction
	itsName string
}

func (c *ChangeNameTransaction) Change(employee *Model.Employee) {
	employee.SetName(c.itsName)
}
